package com.rpj.entity;

import java.util.List;

public class ModulesDto {
	private int id;
	private String title;
	private int  pid;
	private boolean checked;	
	private String href;
	private List<ModulesDto> children;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public boolean isChecked() {
		return checked;
	}
	public void setChecked(boolean checked) {
		this.checked = checked;
	}
	public String getHref() {
		return href;
	}
	public void setHref(String href) {
		this.href = href;
	}
	public List<ModulesDto> getChildren() {
		return children;
	}
	public void setChildren(List<ModulesDto> children) {
		this.children = children;
	}
	public ModulesDto(int id, String title, int pid, boolean checked, String href, List<ModulesDto> children) {
		super();
		this.id = id;
		this.title = title;
		this.pid = pid;
		this.checked = checked;
		this.href = href;
		this.children = children;
	}
	public ModulesDto() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "ModulesDto [id=" + id + ", title=" + title + ", pid=" + pid + ", checked=" + checked + ", href=" + href
				+ ", children=" + children + "]";
	}
	
}
